entry completion: Make keynav work again
authorMatthias Clasen <mclasen@redhat.com>
Mon, 22 Jun 2020 16:48:42 +0000 (12:48 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 22 Jun 2020 16:48:42 +0000 (12:48 -0400)
commit53a30eaa12e44a2ee5da7c9bc9a23a8bfeb733dc
tree83e5cac5aba0b7ce3200e3f682cf6e0e8d8b9598
parent692cc42e1023ec439d2fa1a0b9456e8cbfe1cec8
entry completion: Make keynav work again

Use gtk_widget_prepend_controller to supersede entry keynav
while the popup is open. This fixes selecting completions
with the keyboard - the Enter keypress was ending up
triggering GtkText::activate instead of inserting the
selected completion into the entry.
gtk/gtkentrycompletion.c